﻿
namespace Membership.Library.Web
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.ComponentModel.DataAnnotations;
    using System.Linq;
    using System.ServiceModel.DomainServices.Hosting;
    using System.ServiceModel.DomainServices.Server;
    
    
    // The MetadataTypeAttribute identifies BusinessParaMetadata as the class
    // that carries additional metadata for the BusinessPara class.
    [MetadataTypeAttribute(typeof(BusinessPara.BusinessParaMetadata))]
    public partial class BusinessPara
    {
        
        // This class allows you to attach custom attributes to properties
        // of the BusinessPara class.
        //
        // For example, the following marks the Xyz property as a
        // required property and specifies the format for valid values:
        //    [Required]
        //    [RegularExpression("[A-Z][A-Za-z0-9]*")]
        //    [StringLength(32)]
        //    public string Xyz { get; set; }
        internal sealed class BusinessParaMetadata
        {
            
            // Metadata classes are not meant to be instantiated.
            private BusinessParaMetadata()
            {
            }
            
            public string BusinessParaCode { get; set; }
            
            public string BusinessParaId { get; set; }
            
            public string BusinessParaName { get; set; }
            
            public string BusinessParaType { get; set; }
        }
    }
    
    // The MetadataTypeAttribute identifies EmployeeMetadata as the class
    // that carries additional metadata for the Employee class.
    [MetadataTypeAttribute(typeof(Employee.EmployeeMetadata))]
    public partial class Employee
    {
        
        // This class allows you to attach custom attributes to properties
        // of the Employee class.
        //
        // For example, the following marks the Xyz property as a
        // required property and specifies the format for valid values:
        //    [Required]
        //    [RegularExpression("[A-Z][A-Za-z0-9]*")]
        //    [StringLength(32)]
        //    public string Xyz { get; set; }
        internal sealed class EmployeeMetadata
        {
            
            // Metadata classes are not meant to be instantiated.
            private EmployeeMetadata()
            {
            }
            
            public Nullable<DateTime> Birthday { get; set; }
            
            public string CreatedBy { get; set; }
            
            public Nullable<DateTime> CreatedOn { get; set; }
            
            public Nullable<int> EmployeeAge { get; set; }
            
            public string EmployeeId { get; set; }
            
            public string EmployeeName { get; set; }
            
            public string EmployeeNumber { get; set; }
            
            public string IsDeleted { get; set; }
            
            public string ModifiedBy { get; set; }
            
            public Nullable<DateTime> ModifiedOn { get; set; }
            
            public string Nation { get; set; }
            
            public byte[] UnionLock { get; set; }
        }
    }
    
    // The MetadataTypeAttribute identifies FunctionMetadata as the class
    // that carries additional metadata for the Function class.
    [MetadataTypeAttribute(typeof(Function.FunctionMetadata))]
    public partial class Function
    {
        
        // This class allows you to attach custom attributes to properties
        // of the Function class.
        //
        // For example, the following marks the Xyz property as a
        // required property and specifies the format for valid values:
        //    [Required]
        //    [RegularExpression("[A-Z][A-Za-z0-9]*")]
        //    [StringLength(32)]
        //    public string Xyz { get; set; }
        internal sealed class FunctionMetadata
        {
            
            // Metadata classes are not meant to be instantiated.
            private FunctionMetadata()
            {
            }
            
            public string FunctionId { get; set; }
            
            public string FunctionName { get; set; }
            
            public string PageURL { get; set; }
            
            public string ParentId { get; set; }
        }
    }
    
    // The MetadataTypeAttribute identifies SystemLogMetadata as the class
    // that carries additional metadata for the SystemLog class.
    [MetadataTypeAttribute(typeof(SystemLog.SystemLogMetadata))]
    public partial class SystemLog
    {
        
        // This class allows you to attach custom attributes to properties
        // of the SystemLog class.
        //
        // For example, the following marks the Xyz property as a
        // required property and specifies the format for valid values:
        //    [Required]
        //    [RegularExpression("[A-Z][A-Za-z0-9]*")]
        //    [StringLength(32)]
        //    public string Xyz { get; set; }
        internal sealed class SystemLogMetadata
        {
            
            // Metadata classes are not meant to be instantiated.
            private SystemLogMetadata()
            {
            }
            
            public string SystemLogId { get; set; }
            
            public string SystemLogMessage { get; set; }
            
            public string SystemLogTitle { get; set; }
        }
    }
}
